package com.glory.dgcpcpda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: ToolLifeListEntity
 * Author: XJH
 * Date: 2021/8/4 15:12
 * Description:
 * History:
 */
public class ToolLifeListEntity implements Serializable {

    private String EQUIPMENTID;
    private String SHUTDOWN;
    private List<ToolLifeEntity> TOOLLIST;

    public String getEQUIPMENTID() {
        return EQUIPMENTID == null ? "" : EQUIPMENTID;
    }

    public void setEQUIPMENTID(String EQUIPMENTID) {
        this.EQUIPMENTID = EQUIPMENTID;
    }

    public String getSHUTDOWN() {
        return SHUTDOWN == null ? "" : SHUTDOWN;
    }

    public void setSHUTDOWN(String SHUTDOWN) {
        this.SHUTDOWN = SHUTDOWN;
    }

    public List<ToolLifeEntity> getTOOLLIST() {
        if (TOOLLIST == null) {
            return new ArrayList<>();
        }
        return TOOLLIST;
    }

    public void setTOOLLIST(List<ToolLifeEntity> TOOLLIST) {
        this.TOOLLIST = TOOLLIST;
    }

    public static class ToolLifeEntity implements Serializable{
        private String TOOLID;
        private String EAPPARAM;
        private int CURRENTCOUNT;
        private int LIMITLIFE;
        private int STATE;
        private String StationName;

        public String getStationName() {
            return StationName == null ? "" : StationName;
        }

        public void setStationName(String stationName) {
            StationName = stationName;
        }

        public String getTOOLID() {
            return TOOLID == null ? "" : TOOLID;
        }

        public void setTOOLID(String TOOLID) {
            this.TOOLID = TOOLID;
        }

        public String getEAPPARAM() {
            return EAPPARAM == null ? "" : EAPPARAM;
        }

        public void setEAPPARAM(String EAPPARAM) {
            this.EAPPARAM = EAPPARAM;
        }

        public int getCURRENTCOUNT() {
            return CURRENTCOUNT;
        }

        public void setCURRENTCOUNT(int CURRENTCOUNT) {
            this.CURRENTCOUNT = CURRENTCOUNT;
        }

        public int getLIMITLIFE() {
            return LIMITLIFE;
        }

        public void setLIMITLIFE(int LIMITLIFE) {
            this.LIMITLIFE = LIMITLIFE;
        }

        public int getSTATE() {
            return STATE;
        }

        public void setSTATE(int STATE) {
            this.STATE = STATE;
        }
    }
}
